package plgbase

import "dgo/goutils/utils"

type shareVars struct {
	vars utils.GSyncMapGroup
}

func (this *shareVars) GetValue(key string, def interface{}) interface{} {
	return this.vars.Get(key, def)
}

func (this *shareVars) SetValue(key string, val interface{}) {
	this.vars.Set(key, val)
}

var (
	ShareVars = &shareVars{}
)
